package org.dean.webapps.projectname.presentation.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.Serializable;


/**
 * Created by IntelliJ IDEA.
 * User: gur01
 * Date: Aug 11, 2011
 * Time: 4:25:51 PM
 * To change this template use File | Settings | File Templates.
 */

@Controller
@Scope(value = "session")
public class HomeController implements Serializable {

    private Log log = LogFactory.getLog(this.getClass());

    @RequestMapping("/")
    public String root(HttpServletRequest request,
                       HttpServletResponse response,
                       ModelMap model) {
        return "/home";
    }

}
